package org.jeecg.modules.chvegetable.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 *进销存 报表报表实体
 * @descriptionauthor
 * @author gf
 * 2023-2-28 10:32
 *
 * @return
 */
@ApiModel(value="进销存 报表实体", description="进销存 报表实体")
@Data
public class FlowerInOutReports implements Serializable {
    private static final long serialVersionUID = 1L;
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "id")
	private String id;

	/**来源基地*/
	@Excel(name = "来源基地", width = 15 , dictTable = "t_flower_planting_base",dicText = "name",dicCode = "id")
	@Dict( dictTable = "t_flower_planting_base",dicText = "name",dicCode = "id")
	@ApiModelProperty(value = "来源基地")
	private String sourceBase;

	/**库房*/
	@Excel(name = "库房", width = 15, dictTable = "flower_storehouse",dicText = "name",dicCode = "code")
	@ApiModelProperty(value = "库房")
	@Dict( dictTable = "flower_storehouse", dicText = "name",dicCode = "code")
	private String storehouse;

	@Excel(name = "批次", width = 15 ,needMerge = true)
	@ApiModelProperty(value = "批次")
	private String productionId;

	/**产品*/
	@Excel(name = "产品", width = 15)
	@ApiModelProperty(value = "产品")
	private String variety;

	/**品种编码*/
	@Excel(name = "品种编码", width = 15)
	@ApiModelProperty(value = "品种编码")
	private String varietyCode;

	/**打包规格*/
	@Excel(name = "打包规格", width = 15)
	@ApiModelProperty(value = "打包规格")
	private String packingSpecifications;
	/**等级*/
	@Excel(name = "等级", width = 15)
	@ApiModelProperty(value = "等级")
	private String classes;

	/**单位*/
	@Excel(name = "单位", width = 15)
	@ApiModelProperty(value = "单位")
	private String flowerPoleLength;

	/**单位*/
	@Excel(name = "单位KG", width = 15)
	@ApiModelProperty(value = "单位KG")
	private String unitkg;


	@Excel(name = "库存数量", width = 15 , type=4 )
	@ApiModelProperty(value = "库存数量")
	private BigDecimal tagNum;

	@Excel(name = "日入库", width = 15 , type=4 )
	@ApiModelProperty(value = "日入库")
	private BigDecimal tInNum;

	@Excel(name = "月累入库", width = 15 , type=4 )
	@ApiModelProperty(value = "月累入库")
	private BigDecimal mInNum;

	@Excel(name = "年累入库", width = 15 , type=4 )
	@ApiModelProperty(value = "年累入库")
	private BigDecimal yInNum;

	@Excel(name = "日出库", width = 15 , type=4 )
	@ApiModelProperty(value = "日出库")
	private BigDecimal tOutNum;

	@Excel(name = "单价", width = 15 , type=4 )
	@ApiModelProperty(value = "单价")
	private BigDecimal price;

	@Excel(name = "销售金额（元）", width = 15 , type=4 )
	@ApiModelProperty(value = "销售金额（元）")
	private BigDecimal tAllPrice;

	@Excel(name = "收款金额（元）", width = 15 , type=4 )
	@ApiModelProperty(value = "收款金额（元）")
	private BigDecimal getMoney;

	@Excel(name = "月累出库", width = 15 , type=4 )
	@ApiModelProperty(value = "月累出库")
	private  BigDecimal mOutNum;

	@Excel(name = "月累出库金额（元）", width = 15 , type=4 )
	@ApiModelProperty(value = "月累出库金额（元）")
	private BigDecimal mAllPrice;

	@Excel(name = "年累出库", width = 15 , type=4 )
	@ApiModelProperty(value = "年累出库")
	private  BigDecimal yOutNum;

	@Excel(name = "年累出库金额（元）", width = 15 , type=4 )
	@ApiModelProperty(value = "年累出库金额（元）")
	private BigDecimal yAllPrice;


}
